package com.gavinandre.mvpsocketclient.ui.activity;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;

import com.gavinandre.mvpsocketclient.R;

public class WelcomeActivity extends AppCompatActivity {

    boolean isserver = false;
    Intent mIntent;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_welcome);
        if(isserver){
            mIntent=new Intent(this,ServerActivity.class);

        }else {
            mIntent=new Intent(this,MainActivity.class);

        }


        startActivity(mIntent);
    }
}
